<%--
  Created by IntelliJ IDEA.
  User: 几何
  Date: 2022/4/21
  Time: 18:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<html>
<head>
    <title>我的收藏</title>
</head>
<body>
<c:forEach var="item" items="${posts}">
    <a href ="${pageContext.request.contextPath}/userfunction/queryposts?p=${item.postId}">
        帖子所属话题：${item.topics.topicName}
        帖子标题：${item.postTitle}
        <br/>
    </a>
</c:forEach>
</body>
</html>
